<?php
	 $session->flash('auth');
?>
<div class="page">  
    <?php echo $form->create('User', array('url'=>'/users/login')); ?>    
    <table>
    	<tr>
    		<td colspan="2" align="center">
    			<div align="center" style="padding:5px"><?php echo $html->image('/css/img/key_64.png');?> </div>
    		</td>
    	</tr>
        <tr>
            <td colspan="2" align="center">
                <?php echo $msg;?>
            </td>
        </tr>
        <tr>
            <td align="right">
                <label>User Name</label>
            </td>
            <td>                
                <?php echo $form->input('username', array('label'=>'', 'type'=>'text'));?>                
            </td>
        </tr>
        <tr>
            <td align="right">
                <label>Password</label>
            </td>
            <td>                                
                <?php echo $form->input('password', array('label'=>'', 'type'=>'password'));?>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <input type="submit" value="Log In">
            </td>
        </tr>
    </table>
    <?php echo $form->end();?>
</div>